package com.summer.springboot.ex.std.vo;

import lombok.Data;
import org.hibernate.validator.constraints.Email;

import javax.validation.constraints.NotNull;
import java.util.Date;

@Data
public class UserVo {
    @NotNull(message = "用户名不能为空")
    private String username;
    private String nickname;
    private Date borthday;
    private String address;
    @Email(message = "请输入正确的邮箱地址")
    private String email;
}
